using System;
using System.Collections.Generic;
using System.Text;

namespace CodeFactory.Library.Config
{
    [Serializable]
    public class CreateInfo
    {
        [NonSerialized]
        private string nameSpace;
        [NonSerialized]
        private string privateCodes;
        [NonSerialized]
        private string publicCodes;
        [NonSerialized]
        private string codeInfo;
        [NonSerialized]
        private bool isInit;
        [NonSerialized]
        private bool isCreateFillDAO;
        [NonSerialized]
        private bool isCreateUpdateDAO;
        [NonSerialized]
        private bool isCreateDeleteDAO;

        public CreateInfo()
        {
            this.nameSpace = string.Empty;
            this.privateCodes = string.Empty;
            this.publicCodes = string.Empty;
            this.codeInfo = string.Empty;
            this.isInit = false;
            this.isCreateFillDAO = false;
            this.isCreateUpdateDAO = false;
            this.isCreateDeleteDAO = false;
        }

        public string NameSpace
        {
            get { return this.nameSpace; }
            set { this.nameSpace = value; }
        }

        public string PrivateCodes
        {
            get { return this.privateCodes; }
            set { this.privateCodes = value; }
        }

        public string PublicCodes
        {
            get { return this.publicCodes; }
            set { this.publicCodes = value; }
        }

        public string CodeInfo
        {
            get { return this.codeInfo; }
            set { this.codeInfo = value; }
        }

        public bool IsInit
        {
            get { return this.isInit; }
            set { this.isInit = value; }
        }

        public bool IsCreateFillDAO
        {
            get { return this.isCreateFillDAO; }
            set { this.isCreateFillDAO = value; }
        }

        public bool IsCreateUpdateDAO
        {
            get { return this.isCreateUpdateDAO; }
            set { this.isCreateUpdateDAO = value; }
        }

        public bool IsCreateDeleteDAO
        {
            get { return this.isCreateDeleteDAO; }
            set { this.isCreateDeleteDAO = value; }
        }
    }
}
